package 设计模式.singleton;

//饿汉式，把对象全部创建出来
public class Hungry {
    private byte[] data1 =new byte[1024*10224];
    private byte[] data2 =new byte[1024*10224];
    private byte[] data3 =new byte[1024*10224];
    private byte[] data4 =new byte[1024*10224];

    private Hungry(){

    }
    private final static Hungry HUNGRY =new Hungry();

}
